public class Goods {
    private String name;
    private String type;
    private float price;
    private int num;


    public Goods(String name, String type, float price, int num){
        this.name = name;
        this.type = type;
        this.price = price;
        this.num = num;

    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return name;
    }
    public void setType(String type){
        this.type = type;
    }
    public String getType(){
        return type;
    }
    public void setPrice(float price){
        this.price = price;
    }
    public float getPrice(){
        return price;
    }
    public void setNum(int num){
        this.num = num;
    }
    public int getNum(){
        return num;
    }


}
